package cn.iocoder.yudao.module.aiposter.controller.app.poster.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "AI海报 - 生成推荐海报 Request VO")
@Data
public class PosterGenerateReqVO {
    @Schema(description = "行业", requiredMode = Schema.RequiredMode.REQUIRED, example = "食品")
    @NotNull(message = "行业不能为空")
    private String bizName;

    @Schema(description = "关键词", requiredMode = Schema.RequiredMode.REQUIRED, example = "牛奶、蛋糕")
    @NotNull(message = "关键词不能为空")
    private String keyword;

    @Schema(description = "参考图片地址", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String imageUrl;

    @Schema(description = "是否抠图", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Boolean isSegmentation;
}
